//
//  NImageGridCell.h
//  IconMaster
//
//  Created by nhn on 14-10-10.
//  Copyright (c) 2014年 为为. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface NImageGridCell : UITableViewCell

@property (nonatomic, strong) NSArray* imageArray;
@property (nonatomic, assign) BOOL deletable;
@property (nonatomic, assign) BOOL deleting;

@property (nonatomic, copy) void(^imagePressedBlock)(NImageGridCell* cell, UIImage* image, NSUInteger index);
@property (nonatomic, copy) void(^imageDeletedBlock)(NImageGridCell* cell, UIImage* image, NSUInteger index);
@property (nonatomic, copy) void(^imageBeginDeleteBlock)(NImageGridCell* cell);
@property (nonatomic, copy) void(^imageEndDeleteBlock)(NImageGridCell* cell);

- (void)setNewImage:(UIImage*)image forIndex:(int)index;

+ (NSUInteger)height;
+ (NSUInteger)imagesPerRow;

@end
